package com.qing.gui.snake;

import javax.swing.*;
import java.net.URL;

//数据中心
public class Data {
    public static URL upUrl = Data.class.getResource("statics/up.png");
    public static URL downUrl = Data.class.getResource("statics/down.png");
    public static URL leftUrl = Data.class.getResource("statics/left.png");
    public static URL rightUrl = Data.class.getResource("statics/right.png");
    public static URL bodyUrl = Data.class.getResource("statics/body.png");
    public static URL scoreUrl = Data.class.getResource("statics/score.png");
    public static URL headerUrl = Data.class.getResource("statics/header.png");
    public static URL foodUrl = Data.class.getResource("statics/score.png");

    public static ImageIcon up = new ImageIcon(upUrl);
    public static ImageIcon down = new ImageIcon(downUrl);
    public static ImageIcon left = new ImageIcon(leftUrl);
    public static ImageIcon right = new ImageIcon(rightUrl);
    public static ImageIcon body = new ImageIcon(bodyUrl);
    public static ImageIcon score = new ImageIcon(scoreUrl);
    public static ImageIcon header = new ImageIcon(headerUrl);
    public static ImageIcon food = new ImageIcon(foodUrl);
}
